package com.grsu.phonestation.service;

import java.util.List;

import com.grsu.phonestation.domain.Client;
import com.grsu.phonestation.domain.UserActive;

public interface UserActiveService<UA extends UserActive> {

	void addUserActive(UA userActive);

	void editUserActive(UA userActive);

	void removeUserActive(int userActiveId);

	public List<UA> listUserActivesClientForPeriod(String user,
			String beginPeriod, String endPeriod);

	List<UA> listUserActives();

	List<UA> getUnReplayActiveClient(Client client);

	double getSumUnReplayActiveClient(Client client);
	
	List<Client> getClientsHaveUnReplayActive();
	
	List<UA> getUserActiveClient(Client client);
}
